load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "proto",
    srcs = [
        "buffer.go",
        "defaults.go",
        "deprecated.go",
        "discard.go",
        "extensions.go",
        "properties.go",
        "proto.go",
        "registry.go",
        "text_decode.go",
        "text_encode.go",
        "wire.go",
        "wrappers.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/golang/protobuf/proto",
    importpath = "github.com/golang/protobuf/proto",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/google.golang.org/protobuf/encoding/prototext",
        "//vendor/google.golang.org/protobuf/encoding/protowire",
        "//vendor/google.golang.org/protobuf/proto",
        "//vendor/google.golang.org/protobuf/reflect/protoreflect",
        "//vendor/google.golang.org/protobuf/reflect/protoregistry",
        "//vendor/google.golang.org/protobuf/runtime/protoiface",
        "//vendor/google.golang.org/protobuf/runtime/protoimpl",
    ],
)
